package com.fh.service.impl;

import com.fh.mapper.ShopCartMapper;
import com.fh.service.ShopCartService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ShopCartServiceImpl implements ShopCartService {
    @Resource
    private ShopCartMapper shopCartMapper;


    @Override
    public int del(Integer cid) {
        return  shopCartMapper.deleteByPrimaryKey(cid);
    }
}
